package com.wulian.common.util;


import java.util.List;

/**
 *@Description:(集合工具类)
 * @author  caifulin
 * @date  2020/11/19 9:17
 * @version 1.0
 */
public class CollectionUtil {

    /**
     * 功能描述: <br>
     * 〈判断list为空〉
     * @Param:
     * @Return:
     * @Author: caifulin
     * @Date: 2020/11/19
     */
    public static boolean listIsNull(List list){
        if(null == list || 0 == list.size()){
            return true;
        }
        return false;
    }

    /**
     * 功能描述: <br>
     * 〈判断list不为空〉
     * @Param:
     * @Return:
     * @Author: caifulin
     * @Date: 2020/11/19
     */
    public static boolean listIsNotNull(List list){
        return  !listIsNull(list);
    }

}